import {reactive} from "vue";
import Mock from 'mockjs'

 const lct1 = reactive({
    id:'linechart1',
    categories:['2021Q1', '2021Q2', '2021Q3', '2021Q4', '2022Q1',],
    series:[
        {
            name: '质押比列',
            type: 'spline',
            data: [12, 34, 44, 55, 23,]
        },
    ]
})

 const bct1 = reactive({
    id: 'bct-gu-dong-1',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净利润',
            data: [2.9, 3.5, 1.4, 3.2, 3,]
        },
    ]
})

const tableRte = reactive({
    titleList:[
        {title:"解禁日期",type:"date",width:100},
        {title:"股东名称",type:"name",width:150},
        {title:"解禁数量(万股)",type:"address",width:150},
        {title:"占流通股比例",type:"pct",width:150},
    ],
    dataList:[
        {
            date:"22.3亿",
            name:"22.3亿",
            address:"22.3亿",
            pct:"22.3亿"
        },
    ]
})


const tableRte2 = reactive({
    titleList:[
        {title:"姓名",type:"date",width:100},
        {title:"职位",type:"name",width:150},
        {title:"离职时间",type:"address",width:150},
        {title:"离职原因",type:"pct",width:150},
    ],
    dataList:[
        {
            date:Mock.mock('@cname'),
            name:"22.3亿",
            address:Mock.mock('@date'),
            pct:Mock.mock('@float(60, 100)')
        },
        {
            date:Mock.mock('@cname'),
            name:"22.3亿",
            address:Mock.mock('@date'),
            pct:Mock.mock('@float(60, 100)')
        },
        {
            date:Mock.mock('@cname'),
            name:"22.3亿",
            address:Mock.mock('@date'),
            pct:Mock.mock('@float(60, 100)')
        },
        {
            date:Mock.mock('@cname'),
            name:"22.3亿",
            address:Mock.mock('@date'),
            pct:Mock.mock('@float(60, 100)')
        },
    ]
})
export {
    lct1,
    bct1,
    tableRte,
    tableRte2,
}